<?php
namespace app\vedio\controller;
use app\home\service\DoubanService;
use app\spider\service\QueryFilmService;
use GuzzleHttp\Client;
use GuzzleHttp\Psr7\Request;
use QL\QueryList;
use QL\Ext\CurlMulti;
use think\Controller;
use think\Db;

class Other extends BaseController
{
    public function parseVips()
    {

        $config = [
            //['src' => 'https://jx.618g.com/?url=', 'type' => ''],
            ['src' => 'https://www.heimijx.com/jx/api/?url=', 'type' => ''],
            ['src' => 'https://cdn.yangju.vip/k/?url=', 'type' => ''],
            //['src' => 'https://api.yangju.vip/beiyong/?url=', 'type' => ''],
            //['src' => 'https://www.cmys.tv/?url=', 'type' => ''],
            ['src' => 'https://jx.daheiyun.com/?url=', 'type' => ''],
            ['src' => 'https://jx.618ge.com/file/pc.html?url=', 'type' => ''],
            ['src' => 'https://jx.hezeshi.net/ce/jlexi.php?url=', 'type' => ''],
            //['src' => 'https://jx.km58.top/jx/?url=', 'type' => ''],
        ];

        shuffle($config);
        $site = mt_rand(0, count($config) - 1);
        return $this->_returnJson($config[$site]['src']);
    }


}
